﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Milan.Licensing
{
	/// <summary>
	/// Maps a user to a product subscription.
	/// </summary>
	public class Subscription
	{
		[Key]
		public int uid { get; set; }
		public Product SubscribedProduct { get; set; }
		public User Subscriber { get; set; }
		public LicenseType Terms { get; set; }
		public Milan.Deploy.ReleaseType SubscriptionType { get; set; }
	}
}
